package com.mdsd.cloud.dasservice.service.jj.vo.output;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 急救-病历预览
 */
@Getter
@Setter
public class MedPhepEcg {

    /**
     * 心电图表_主键ID
     */
    @ApiModelProperty(value = "心电图表_主键ID(新增: 后端自处理)")
    @JsonSerialize(using = ToStringSerializer.class)
    private String id;

    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime acqTime;

    /**
     * 诊断时间
     */
    @ApiModelProperty(value = "诊断时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime diagnosisTime;

    /**
     * 心电图类型
     */
    @ApiModelProperty(value = "心电图类型")
    private String ecgType;

    /**
     * 患者ID
     */
    @ApiModelProperty(value = "患者ID")
    private String patientId;

    /**
     * 报告时间
     */
    @ApiModelProperty(value = "报告时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportTime;


}
